const str = "hello world"

const newStr = str.padStart(16, "*").padEnd(20, "-")
console.log(newStr);
